import request from "@/utils/request";
/**
 * 查询设备自由组合数据
 * @param params
 * @returns
 */
export function getFindFree(data) {
    return request({
        url: '/management/machine.machine_free/getFind',
        method: 'post',
        data
    })
}
/**
 * 删除自由组合商品数据
 * @param params
 * @returns
 */
export function freeDel(data) {
    return request({
        url: '/management/machine.machine_free/del',
        method: 'post',
        data
    })
}
/**
 * 修改自由组合数据
 * @param params
 * @returns
 */
export function freeUpdate(data) {
    return request({
        url: '/management/machine.machine_free/update',
        method: 'post',
        data
    })
}
/**
 * 添加自由组合数据
 * @param params
 * @returns
 */
export function freeAdd(data) {
    return request({
        url: '/management/machine.machine_free/add',
        method: 'post',
        data
    })
}
/**
 * 获取携程城市列表
 * @param params
 * @returns
 */
export function getCityList(data) {
    return request({
        url: '/management/hotel.hotel/getCityList',
        method: 'post',
        data
    })
}
/**
 * 获取酒店列表
 * @param params
 * @returns
 */
export function getHotelList(data) {
    return request({
        url: '/management/hotel.hotel/getHotelList',
        method: 'post',
        data
    })
}
/**
 * 修改指定酒店数据
 * @param params
 * @returns
 */
export function freeHotelUpdate(data) {
    return request({
        url: '/management/machine.machine_free_hotel/update',
        method: 'post',
        data
    })
}
/**
 * 修改指定酒店数据
 * @param params
 * @returns
 */
export function freeHotelAdd(data) {
    return request({
        url: '/management/machine.machine_free_hotel/add',
        method: 'post',
        data
    })
}
/**
 * 删除指定酒店数据
 * @param params
 * @returns
 */
export function freeHotelDel(data) {
    return request({
        url: '/management/machine.machine_free_hotel/del',
        method: 'post',
        data
    })
}
/**
 * 删除指定商品数据
 * @param params
 * @returns
 */
export function freeGoodsDel(data) {
    return request({
        url: '/management/machine.machine_free_goods/del',
        method: 'post',
        data
    })
}
/**
 * 添加指定商品数据
 * @param params
 * @returns
 */
export function freeGoodsAdd(data) {
    return request({
        url: '/management/machine.machine_free_goods/add',
        method: 'post',
        data
    })
}
/**
 * 修改指定商品数据
 * @param params
 * @returns
 */
export function freeGoodsUpdate(data) {
    return request({
        url: '/management/machine.machine_free_goods/update',
        method: 'post',
        data
    })
}
